/**
 * Created by Administrator on 2015/1/26.
 */

var command = require('./command');
var utils = require('./utils');
var newRoom = {
    text: "开房",
    regexStr: "开房%人类词语%魂词语",
    callback: function () {

    },
    check: function () {

    }
};
command.register(newRoom);




var rule = {text: "规则",
    regexStr: "规则",
    callback: function () {
        return utils.processEjsTemplate("rule",{});
    },
    check: function (command) {
        return 0;
    }
};
command.register(rule);





var help = {text: "帮助",
    regexStr: "帮助",
    callback: function () {
        return command.allCommand();
    },
    check: function (command) {
        return 0;
    }
};
command.register(help);